package com.lu.common.dao;

import com.lu.common.domain.KnowledgeUserDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 用户
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-08-09 23:24:23
 */
@Mapper
public interface KnowledgeUserDao {

	KnowledgeUserDO get(Long id);
	
	List<KnowledgeUserDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(KnowledgeUserDO knowledgeUser);

    void saveBatch(List<KnowledgeUserDO> list);
	
	int update(KnowledgeUserDO knowledgeUser);

    void updateBatch(List<KnowledgeUserDO> list);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
}
